package cn.tedu.kcircle.content.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

@TableName("user_content")
@Data
public class ContentDO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer typeId;
    private Long categoryId;
    private Integer commentPermissionLevel;
    private Integer reprintPermissionLevel;
    private Long authorId;
    private String authorName;
    private Integer isOriginal;
    private Long parentId;
    private Integer sourceInfo;
    private Date cameraDate;
    private Long locationId;
    private String categoryName;
    private String title;
    private String brief;
    private Long detailId;
    private String videoUrl;
    private String coverUrl;
    private String ip;
    private Integer likes;
    private Integer dislikes;
    private Integer clickCount;
    private Integer commentCount;
    private Integer checkState;
    private Integer isRecommend;
    private String keywords;
    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
